package cn.wolfcode.transfer.mapper;

import cn.wolfcode.transfer.domain.RolePermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePermissionMapper {
    int insert(@Param("role_id")Long role_id,@Param("permission_id")Long permission_id);
    void deleteByRoleId(@Param("role_id") Long id);
    List<RolePermission> selectAll();
}